import time
#一般输出
print('hello,world')
a = [1,2,3]
print([1,2,3])
print(a)

# 格式化控制
s = 'Hello'
z = 'world'

x = len(s)
print("The length of %s is %d" %(s,x))
print(x,end=' ') #指定不换行,因为Python默认换行
print('hello')

#字符串的拼接
print(s+z)

# 2的3次幂对5取模
print(pow(2,3,5))

print("Loading",end=" ")
for i in range(20):
    print(".",end='',flush = True)
    time.sleep(0.5)